/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.atp.agencia.modelo;

/**
 *
 * @author Afonso
 */
public class Quarto extends Aluguel {

    @Override
    public Double getTotalDevido() {
        try {
            return getValorDiaria() * getNumPessoas() * getNumDiarias();
        } catch (Exception e) {
            return 0.0;
        }
    }
}
